<%@page import="com.zx.chatroom.server.SocketServer"%>
<%@page import="com.zx.framework.core.util.SpringBeanUtil"%>
<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% 
	SocketServer server = SpringBeanUtil.getBean("socketServer", SocketServer.class);
	out.println("var _host = '"+server.getVisithost()+"';");
	out.println("var _port = '"+server.getBindport()+"';");
%>
